#ifndef BDPainterWidget_H
#define BDPainterWidget_H

#include <QWidget>
#include <QPainter>
#include "BDShape.h"

class BDPainterWidget : public QWidget
{
	Q_OBJECT

public:
	BDPainterWidget(QWidget *parent = 0);
	~BDPainterWidget();

	void setGazePoint(int x, int y) { m_GazePoint.setX(x); m_GazePoint.setY(y); }
	void setVirtualGazePoint(int x, int y) { m_VirtualGazePoint.setX(x); m_VirtualGazePoint.setY(y); }
	void setShapes(QVector<BDShape*> shapes) { m_vecShapes = shapes; }
protected:
	void paintEvent(QPaintEvent * event);
	QPainter* painter;
	QPoint m_GazePoint;
	QPoint m_VirtualGazePoint;
	int m_iRadius;
	QVector<BDShape*> m_vecShapes;
};

#endif